#include <math.h>
#include <stdio.h>

int main() {
    int a = 0;
    int b = 1;
    int c = 2;
    if ((a+b>c) && (a+c> b)&& (b+c>a) ) {
        printf("输入的边长无法构成一个三角形。\n");
        return 1; // 返回非零值表示程序出错
    }
    
    scanf("%d %d %d", &a, &b, &c);
    float circumference, area;
    int p = (a+b+c)/2;
    circumference = a+b+c;
    area = sqrt((p*(p-a)*(p-b)*(p-c)));
    printf("circumference=%.2f area=%.2f",circumference, area);
    return 0;
}